package com.synnex.mobile.servier.core.survey.dto;

import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * User: Administrator
 * Date: 13-8-8
 * Time: afternoon 11:16
 * To change this template use File | Settings | File Templates.
 */
//public class AnswerItem implements Comparable<AnswerItem>{
public class AnswerItem{

    private Integer id;
    private Survey question;
    private String title;
    private String seq;

    private Date entryDate;
    private Date updateDate;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Survey getQuestion() {
        return question;
    }

    public void setQuestion(Survey question) {
        this.question = question;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSeq() {
        return seq;
    }

    public void setSeq(String seq) {
        this.seq = seq;
    }

    public Date getEntryDate() {
        return entryDate;
    }

    public void setEntryDate(Date entryDate) {
        this.entryDate = entryDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

//    public int compareTo(AnswerItem o) {
//        if(o==null||this==null || o.getSeq()==null||this.getSeq()==null ){
//            return 0;
//        }             else{
//                   return     this.getSeq().compareTo(o.toString());
//        }
//    }
}
